package com.aliyun.iot.demo.iothub;


public interface DataProvider {
	class Sample {
		public float[] Acc;
		public float[] Gyro;
		public float[] Angle;

		Sample(float[] Acc, float[] Gyro, float[] Angle) {
			this.Acc = Acc;
			this.Gyro = Gyro;
			this.Angle = Angle;
		}
		
		final public static Sample Zero = new Sample(new float[4], new float[4], new float[4]);
	}

	void start();

	void stop();

	Sample fetch();
}
